package main

import "net"

func main() {
	//conn,err := net.Dial("tcp","192.168.20.95:8080")
	conn,err := net.Dial("ip4:icmp","www.baidu.com")
	if nil!=err {
		println("err ",err.Error())
	} else{
		println(conn)
	}
}
